package main.www.wonderfuldata.bean;

import main.www.wonderfuldata.com.StatementTest;

import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;

public class testTemp {
    public static void main(String[] args) {


        String sql ="select * from shujuTest";
        StatementTest st = new StatementTest();
        List<Temp> temps = st.getAllInstance(Temp.class,sql);
        List<Temp> temps1 = new ArrayList<>();
        Temp temp = new Temp();
        temp.setDidian("sss");
        temps1.add(temp);
        System.out.println(temps1.get(0).getDidian());



        System.out.println(temps.get(1).getDidian());

    }
}




















